package com.study.springcache.service;

import org.springframework.lang.Nullable;

/**
 * @Description:
 * @Author: 刘超
 * @Date: 2023-06-13 8:56
 */
public interface CacheTestService {

    String getRedisCacheData(int key);

    String getCaffeineCacheData(int key);

    String setVersion(String key, @Nullable String version);

    String getVersion(String key);

    String setData(String key, String version, String data);

    String getData(String key, String version);
}
